<script type="text/javascript">
	$(function () {
		//图片延时加载
		$(".lazy").lazyload({
			effect: "fadeIn"
			//			appear: function(){
			//				$(this).parent().parent().addClass('dealing');
			//			}
		});
	});
</script>
</div>
<!--加载更多开始-->
<div class="load-more" id="main_list">
	<span class="loader"></span>
	<em class="loader-text">正在加载更多</em>
</div>
<!--加载更多结束-->
</div>
<!--底部浮动开始-->
<style type="text/css">
	.goto_fatie_box {
		bottom: 75px;
	}
</style>
<div class="goto_fatie_box">
	<a href="javascript:void(0);" onclick="clickTongji()">
		<img src="/meetTWO/public/static/index/picture/faiteicon.png" />
	</a>
	<!-- <a href="#"><img src="/meetTWO/public/static/index/picture/qiuzhuicon.png"/></a> -->
	<a href="javascript:void(0);" class="go-top">
		<img src="/meetTWO/public/static/index/picture/goto.png" />
	</a>
</div>
<script type="text/javascript">
	$(".goto").click(function () {
		var dcm = 'forum_thread_show';
		var top = dcm == 'forum_thread_show' ? $('header').height() : 0;
		$('body,html').animate({ scrollTop: top }, 300);
		return false;
	});
</script>
<!--底部浮动结束-->
<script type="text/javascript">
	$(function () {
		$('#main_list').infinitus({
			trigger: function (done) {
				var nextpage = Number($(".postInfo").val());
				if (isNaN(nextpage)) {
					nextpage = 0;
				}
				if (nextpage > 1) {
					// var url = 'http://m.8264.com/index.php?d=forum&c=home&m=ajaxThreadHotMore';
					url = decodeURI(url);
					$.post(url, { page: nextpage }, function (data) {
						$("#fm").find(".postInfo").remove();
						$("#fm").append(data);
						done();
						if ($(".postInfo").length == 0) {
							//没有更多
							$("#main_list .loader").hide();
							$("#main_list .loader-text").text('没有更多');
						}
					});
				} else {
					//没有更多
					$("#main_list .loader").hide();
					$("#main_list .loader-text").text('没有更多');
				}
			},
			onStart: function () { },
			onEnd: function () { }
		});
	});
</script>
<style type="text/css">
	.footer-new {
		position: relative
	}

	.footer-new .footer-usr {
		position: relative;
		border-top: 1px solid #e5e5e5;
		background-color: #f6f6f6;
		display: -webkit-box;
		display: flex;
		-webkit-box-align: center;
		align-items: center;
		height: 36px
	}

	.footer-new .footer-usr a {
		font-size: 12px;
		color: #585858;
		padding: 8px 14px;
		display: block
	}

	.footer-new .footer-usr .goto-binding {
		color: #ff7038
	}

	.footer-new .footer-usr .pipe-line {
		position: relative
	}

	.footer-new .footer-usr .pipe-line:after {
		content: "";
		position: absolute;
		width: 0;
		height: 10px;
		border-left: 1px solid #949494;
		right: 0;
		top: 11px
	}

	.footer-new .footer-usr .go-top {
		background: url() no-repeat 0 50%;
		background-size: auto 14px;
		height: 36px;
		padding-left: 18px;
		position: absolute;
		right: 0;
		display: flex;
		align-items: center
	}

	.footer-new .fbc {
		text-align: center;
		padding: 12px 0 15px;
		background-color: #f6f6f6;
		border-top: 1px solid #e5e5e5
	}

	.footer-new .fbc a {
		font-size: 14px;
		color: #737373;
		padding: 0 4px
	}

	.footer-new .fbc p {
		font-size: 10px;
		color: #9b9b9b;
		margin: 4px 0 0
	}

	.footer-new a.retind {
		background: url() center center no-repeat;
		background-size: 12px auto;
		left: 0;
		display: block;
		position: absolute;
		text-indent: -9999em;
		width: 36px;
		height: 36px;
		bottom: 16px
	}
</style>
<footer class="footer-new">
	<div class="footer-usr">


	</div>
	<!-- <div class="fbc">
		<a href="javascript:goWeb();">电脑版</a>
		<p class="copyRight">Copyright 2013 - 2017  8264.com. All Rights Reserved</p> -->
	</div>
	<!-- 底部绑定提示 -->
	<!-- //底部绑定提示 -->
</footer>
<!--提示框-->
<div style="display:none;" id="common_msg_tip" class="common-msg-tip"></div>
<div style="display:none;" id="common_wait_tip" class="submit-loader"></div>
<!--提示框 end-->


<div style="display:none;">
	<style type="text/css">
		.side-fixed {
			position: fixed;
			bottom: 0;
			width: 100%;
			z-index: 999;
		}

		.side-fixed img {
			width: 100%;
		}

		.side-fixed .side-close {
			background-size: auto 20px;
			top: -10px;
			right: 0px;
			z-index: 10
		}

		@media (max-width: 330px) {
			.hide-in-320 {
				display: none;
			}
		}
	</style>

</div>


</body>

</html>

<script type="text/javascript">
	$(function () {
		//图片延时加载
		$(".lazy").lazyload({ effect: "fadeIn" });

		//返回顶部
		$(".go-top").click(function () {
			var dcm = '__';
			var top = dcm == 'forum_thread_show' ? $('header').height() : 0;
			$('body,html').animate({ scrollTop: top }, 300);
			return false;
		});

		$('.adv-app-close').click(function () {
			$(this).parent().remove();
			$.cookie('closeAdvApp', "1", { expires: 0.17, "path": "/" });
		});

		//退出登录
		$('#footer_logout').click(function () {
			$.post('#', '', function (data) {
				location.href = data.url;
			}, "json");
		});


	});

	//点击统计
	function clickTongji() {
		var url1 = '/meetTWO/public/index.php/index/release/publicPage';
		var url2 = '/meetTWO/public/index.php/index/discussion/discussionPage';
		if (location.pathname == '/meetTWO/public/index.php/index/discussion/discussion') {
			window.location.href = url2;
		} else {
			window.location.href = url1;
		}
		// var uid = '';
		// var postData = 'type=' + type;
		// $.post('#', postData, function (data) {

		// 	//没登录，跳到登录界面，自有变量统计
		// 	if (relateId && !uid) {
		// 		var postData = 'type=' + relateId;
		// 		$.post('#', postData, function (data) {
		// 			if (url != undefined) {
		// 				window.location.href = url;
		// 			}
		// 		}, "json");
		// 	} else {
		// 		if (url != undefined) {
		// 			window.location.href = url;
		// 		}
		// 	}

		// }, "json");
	}

	//在外链接点击统计
	function wanClickTongji(type, url, newwindow) {
		if (url != undefined) {
			url += '?utmsource=p15007785&from=' + type;
			if (newwindow == 1) {
				window.open(url);
			} else {
				window.location.href = url;
			}
		}
	}
</script>